setOnQueryTextFocusChangeListener

Sets a listener to inform when the focus of the query text field changes.

Parameters

listener

the listener to inform of focus changes.